<!-- banner begin-->
<div class="banner">
	<div class="menu">
		<ul>
			<li><a href="<?php echo $this->baseUrl();?>/index">正在竞拍<span>&nbsp;auctions</span></a></li>
			<li><a href="<?php echo $this->baseUrl();?>/winner">历史竞拍<span>&nbsp;winners</span></a></li>
			<li><a href="">金币充值<span>&nbsp;buy token</span></a></li>
			<li><a href="">竞拍手册<span>&nbsp;manual</span></a></li>
		</ul>
	</div>
</div>
<!-- banner end -->

<div class="dash_clear"> </div>

<!-- main begin -->
<div class="main">
	第<?php echo $this->page; ?>页
	总数：<?php echo $this->winnerNum; ?>
	<table>
		<tr>
			<td>
				<?php if($this->previous_page != 0) { ?>
					<a href="winner?page=<?php echo $this->previous_page ?>">上一页</a>
				<?php } ?>
				<?php if($this->next_page != 0) { ?>
					<a href="winner?page=<?php echo $this->next_page ?>">下一页</a>
				<?php } ?>
			</td>
		</tr>
	</table>
	<table>
		<?php foreach ($this->winners as $winner): ?>
		<tr>
			<td><a href="index?auction_id=<?php echo $winner['auction_id'] ?>"><img width="150" height="150" src="<?php echo $winner['auction_image1']; ?>" /></a></td>
			<td><a target="_blank" href="<?php echo $winner['user_home_page'] ?>"><?php echo $winner['user_name']; ?></a></td>
			<td>成交价：￥<?php echo $winner['bid_price']; ?></td>
			<td>打折：<?php echo $winner['percentage']; ?></td>
			<td>成交时间：<?php echo $winner['deal_time']; ?></td>
			<td>评论：<?php echo $winner['comment']; ?></td>
		</tr>
		<?php endforeach; ?>
	</table>
</div>
<!-- main end -->